package xyz.hubery.stream;

import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.context.annotation.Configuration;

/**
 * 开启Stream 的开发
 */
@Configuration
@EnableBinding({Sink.class, Source.class})  //启用 Spring Cloud Stream 的绑定机制，声明本应用是消息的消费者（Sink）
public class StreamConfig {
}